<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../../day03_jQuery/script/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("<div>" +
                " <span>事件</span>\n" +
                " <span>超光</span>\n" +
                "</div>").appendTo("body");
            alert($("button").length)
            alert($("#btnId"));
        });

    </script>
</head>
<body>
<!--<div>
    <span>事件</span>
    <span>超光</span>
</div>-->
<button id="btnId">按钮</button>
<button id="btn">按钮11</button>
<button id="btId">按钮2</button>
<button id="tnId">按钮3</button>
<button id="bnId">按钮4</button>
<button id="btn1">按钮2reg</button>
</body>
</html>